package com.hc.bean;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ProductInfo implements Serializable {
    private Integer id;
    private String code;
    private String name;
    private Integer tid;
    private String brand;
    private String pic;
    private Integer num;
    private Double price;
    private String intro;
    private Integer status;

    private Type type;
    private Double priceFrom;   //使用包装类,查询的时候会接收到null,包空指针异常
    private Double priceTo;
}
